package main

import "fmt"

func main() {
	map1 := make(map[string]string)
	map1["name"] = "ylf"
	appendMap(map1)
	fmt.Println(map1)
}

func appendMap(map1 map[string]string) {
	map1["yyy"] = "name"
	delete(map1, "name")
	delete(map1, "name2")
}
